package com.flyco.modules.sms.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 砍价申请
 * @Author: flyco
 * @Date:   2020-05-18
 * @Version: V1.0
 */
@Data
@TableName("sms_bargain_room")
@ApiModel(value="sms_bargain对象", description="砍价")
public class SmsBargainRoom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**砍价活动id*/
    @Excel(name = "砍价活动id", width = 15)
    @ApiModelProperty(value = "砍价活动id")
	private Long bargainId;
	/**砍价商品id*/
    @ApiModelProperty(value = "砍价商品id")
	private Long bargainProductId;
	/**发起人会员id*/
    @Excel(name = "发起人会员id", width = 15)
    @ApiModelProperty(value = "发起人会员id")
	private Long memberId;
	/**初始金额，冗余字段*/
    @Excel(name = "初始金额，冗余字段", width = 15)
    @ApiModelProperty(value = "初始金额，冗余字段")
	private java.math.BigDecimal startPrice;
	/**最终金额，默认0(砍价成交价)*/
    @Excel(name = "最终金额，默认0(砍价成交价)", width = 15)
    @ApiModelProperty(value = "最终金额，默认0(砍价成交价)")
	private java.math.BigDecimal lastPrice;
	/**当前商品金额*/
    @Excel(name = "当前商品金额", width = 15)
    @ApiModelProperty(value = "当前商品金额")
	private java.math.BigDecimal nowPrice;
	/**需要砍价的人数*/
    @Excel(name = "需要砍价的人数", width = 15)
    @ApiModelProperty(value = "需要砍价的人数")
	private Integer expectFollowCount;
	/**还需要砍价的人数*/
    @Excel(name = "还需要砍价的人数", width = 15)
    @ApiModelProperty(value = "还需要砍价的人数")
	private Integer remaindFollowCount;
	/**砍价结束时间(默认10天)*/
	@Excel(name = "砍价结束时间(默认10天)", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "砍价结束时间(默认10天)")
	private java.util.Date endTime;
	/**删除状态：0->未删除；1->已删除*/
    @Excel(name = "删除状态：0->未删除；1->已删除", width = 15)
    @ApiModelProperty(value = "删除状态：0->未删除；1->已删除")
	private Integer deleteStatus;
	/**状态：0-已取消，1-草稿，2-已发布，3-可下单，4-已下单*/
    @Excel(name = "状态：0-已取消，1-草稿，2-已发布，3-可下单，4-已下单", width = 15)
    @ApiModelProperty(value = "状态：0-已取消，1-草稿，2-已发布，3-可下单，4-已下单")
	private Integer status;
	/**收货人姓名*/
    @Excel(name = "收货人姓名", width = 15)
    @ApiModelProperty(value = "收货人姓名")
	private String receiverName;
	/**收货人电话*/
    @Excel(name = "收货人电话", width = 15)
    @ApiModelProperty(value = "收货人电话")
	private String receiverPhone;
	/**省份/直辖市*/
    @Excel(name = "省份/直辖市", width = 15)
    @ApiModelProperty(value = "省份/直辖市")
	private String receiverProvince;
	/**省份编号*/
    @Excel(name = "省份编号", width = 15)
    @ApiModelProperty(value = "省份编号")
	private String receiverProvinceCode;
	/**城市*/
    @Excel(name = "城市", width = 15)
    @ApiModelProperty(value = "城市")
	private String receiverCity;
	/**城市编号*/
    @Excel(name = "城市编号", width = 15)
    @ApiModelProperty(value = "城市编号")
	private String receiverCityCode;
	/**区*/
    @Excel(name = "区", width = 15)
    @ApiModelProperty(value = "区")
	private String receiverRegion;
	/**区编号*/
    @Excel(name = "区编号", width = 15)
    @ApiModelProperty(value = "区编号")
	private String receiverRegionCode;
	/**详细地址*/
    @Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
	private String receiverDetailAddress;
	/**订单id*/
    @Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
	private String orderId;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
}
